KERN_VER = $(shell uname -r)
KERN_DIR = /lib/modules/$(KERN_VER)/build	




obj-m += fasync.o   


  
PWD ?= $(shell pwd)
all:
	make -C $(KERN_DIR) M=$(PWD) modules    
	gcc read.c -o read  
	gcc write.c -o write 
clean:
	make -C $(KERN_DIR) M=$(PWD) clean    
